package com.bt.table.ppt;

/**
 * Ret_box_abnId entity. @author MyEclipse Persistence Tools
 */

public class Ret_box_abnId implements java.io.Serializable {

	// Fields

	private String box_id_fk;
	private String evt_seq_id_fk;

	// Constructors

	/** default constructor */
	public Ret_box_abnId() {
	}

	/** full constructor */
	public Ret_box_abnId(String box_id_fk, String evt_seq_id_fk) {
		this.box_id_fk = box_id_fk;
		this.evt_seq_id_fk = evt_seq_id_fk;
	}

	// Property accessors

	public String getBox_id_fk() {
		return this.box_id_fk;
	}

	public void setBox_id_fk(String box_id_fk) {
		this.box_id_fk = box_id_fk;
	}

	public String getEvt_seq_id_fk() {
		return this.evt_seq_id_fk;
	}

	public void setEvt_seq_id_fk(String evt_seq_id_fk) {
		this.evt_seq_id_fk = evt_seq_id_fk;
	}

	public boolean equals(Object other) {
		if ((this == other))
			return true;
		if ((other == null))
			return false;
		if (!(other instanceof Ret_box_abnId))
			return false;
		Ret_box_abnId castOther = (Ret_box_abnId) other;

		return ((this.getBox_id_fk() == castOther.getBox_id_fk()) || (this
				.getBox_id_fk() != null && castOther.getBox_id_fk() != null && this
				.getBox_id_fk().equals(castOther.getBox_id_fk())))
				&& ((this.getEvt_seq_id_fk() == castOther.getEvt_seq_id_fk()) || (this
						.getEvt_seq_id_fk() != null
						&& castOther.getEvt_seq_id_fk() != null && this
						.getEvt_seq_id_fk()
						.equals(castOther.getEvt_seq_id_fk())));
	}

	public int hashCode() {
		int result = 17;

		result = 37 * result
				+ (getBox_id_fk() == null ? 0 : this.getBox_id_fk().hashCode());
		result = 37
				* result
				+ (getEvt_seq_id_fk() == null ? 0 : this.getEvt_seq_id_fk()
						.hashCode());
		return result;
	}

}